package au.com.handsunited.web.command.entity;

import java.util.List;
import java.util.Map;
import java.util.TreeMap;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import au.com.handsunited.model.BaseEntity;
import au.com.handsunited.model.User;
import au.com.handsunited.web.controller.user.UserEditProfileController;

/**
 *
 * @author arunda
 */
public class AbstractInviteToCommand {

	protected String emailAddresses;
	protected String message;
	protected List<String> userIds;
	protected Map<Long, User> userMap;
	protected BaseEntity entity;


	private static Logger logger = LoggerFactory.getLogger(UserEditProfileController.class);


	public AbstractInviteToCommand() {
		userMap = new TreeMap<Long, User>();
	}


	/**
	 *
	 * @param entity
	 */
	public AbstractInviteToCommand (BaseEntity entity) {
		this();
		this.entity = entity;
	}


	/**
	 * @return the emailAddresses
	 */
	public String getEmailAddresses() {
		return emailAddresses;
	}

	/**
	 * @param emailAddresses the emailAddresses to set
	 */
	public void setEmailAddresses(String emailAddresses) {
		this.emailAddresses = emailAddresses;
	}

	/**
	 * @return the message
	 */
	public String getMessage() {
		return message;
	}

	/**
	 * @param message the message to set
	 */
	public void setMessage(String message) {
		this.message = message;
	}

	/**
	 * @return the userIds
	 */
	public List<String> getUserIds() {
		return userIds;
	}

	/**
	 * @param userIds the userIds to set
	 */
	public void setUserIds(List<String> userIds) {
		this.userIds = userIds;
	}

	/**
	 * @return the userMap
	 */
	public Map<Long, User> getUserMap() {
		return userMap;
	}

	/**
	 * @param userMap the userMap to set
	 */
	public void setUserMap(Map<Long, User> userMap) {
		this.userMap = userMap;
	}

	/**
	 * @return the entity
	 */
	public BaseEntity getEntity() {
		return entity;
	}

	/**
	 * @param entity the entity to set
	 */
	public void setEntity(BaseEntity entity) {
		this.entity = entity;
	}

}

